function add(a, b) {
  return a + b
}
const proxyFun = new Proxy(add, {
  // 代理函数调用
  apply(target, thisArg, argumentsList) {
    console.log(`Called with arguments: ${argumentsList}`);
    return target(...argumentsList); // 调用原始函数
  }
})

proxyFun(23, 36)